import request from '@/utils/request'

// 查询文件列表
export function listFile(params) {
  return request({
    url: '/system/file/list',
    method: 'get',
    params
  })
}

// 删除文件
export function delFile(filenames) {
  return request({
    url: '/system/file?filenames=' + filenames,
    method: 'delete'
  })
}

